\documentclass{beamer}
\mode<presentation>
{
  %\usetheme{Madrid}
  \setbeamercovered{transparent}
  \usefonttheme[onlylarge]{structurebold}
  \setbeamerfont*{frametitle}{size=\normalsize,series=\bfseries}
  \setbeamerfont*{date}{size=\tiny,series=\bfseries}
  \useinnertheme{rounded}
  \useoutertheme{infolines}
  \usecolortheme{whale}%dolphin}
  \usecolortheme{orchid}
  \setbeamertemplate{sidebar right}{
    \vfill
    \llap{
      \usebeamertemplate***{navigation symbols}
      \hskip0.1cm
      \insertlogo
      \hskip0.1cm
    }
    \vskip2pt
  }
  \setbeamertemplate{navigation symbols}{\hbox{
    \hbox{\insertframenavigationsymbol}
    \hbox{\insertsubsectionnavigationsymbol}
    \hbox{\insertsectionnavigationsymbol}
  }}
}

\usepackage[catalan]{babel}
% or whatever

\usepackage[utf8]{inputenc}
% or whatever

\usepackage{times}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.

\title{Xarxa Mesh Privada Virtual} % (optional, use only with long paper titles)

\subtitle{Projecte de Fi de Carrera} % (optional)

\author{Pau~Rodriguez-Estivill}

\institute[UPC EPSC] % (optional, but mostly needed)
{
  Escola Polit\`ecnica Superior de Castelldefels\\
  Universitat Polit\`ecnica de Catalunya
}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.

\date{ % (optional)
8 d'octubre de 2008% \today
}

\subject{UPC EPSC PFC}
% This is only inserted into the PDF information catalog. Can be left
% out. 

% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:

% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
% \logo{\pgfuseimage{university-logo}}

\pgfdeclareimage[height=0.5cm]{epsc-logo}{../epsc/logo_epsc}
\logo{\pgfuseimage{epsc-logo}}


\AtBeginSection[]
{
  \begin{frame}<beamer>{Índex}
    \tableofcontents[currentsection]
  \end{frame}
}

\AtBeginSubsection[]
{
  \begin{frame}<beamer>{Índex}
    \tableofcontents[currentsection,currentsubsection]
  \end{frame}
}

% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 

%\beamerdefaultoverlayspecification{<+->}

\begin{document}
\pdfbookmark[2]{Benvinguda}{benvinguda}
\begin{frame}
%  \titlepage
  \vbox{}
  \vfill
  \begin{centering}
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{institute}
      \usebeamerfont{institute}
      \tiny\textbf{Director:} Jos\'e Manuel Y\'ufera-G\'omez\\~\\
      \textit{Enginyeria de Telecomunicaci\'o (segon cicle)}\\~\\
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}
  \end{centering}
  \vfill
\end{frame}

\begin{frame}{Índex}
  \tableofcontents
  % You might wish to add the option [pausesections]
\end{frame}

% However, the talk length of between 15min and 45min and
% the theme suggest that you stick to the following rules:

% - Exactly two or three sections (other than the summary).
% - At *most* three subsections per section.
% - Talk about 30s to 2min per frame. So there should be between about
%   15 and 30 frames, all told.

\include{slides/intro}
\include{slides/state}
\include{slides/program}
\include{slides/tests}
\include{slides/conclusions}
% Questions
\begin{frame}
  \vbox{}
  \vfill
  \begin{centering}
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,colsep=-4bp,rounded=true]{institute}
      \usebeamerfont{institute}
      \textit{Enginyeria de Telecomunicaci\'o (segon cicle)}\\~\\
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
  \end{centering}
  \vfill
\end{frame}
\end{document}
